<template>
  <ul>
    <li>《新闻1》<input type="text"> </li>
    <li>《新闻2》<input type="text"> </li>
    <li>《新闻3》<input type="text"> </li>
  </ul>
</template>

<script>
  export default {
    name:'News',
    mounted() {
      console.log('News-挂载了')
    },
    beforeDestroy() {
      console.log('News-即将销毁了')
    },
  }
</script>